package cn.chair.model.admin;

import com.fasterxml.jackson.annotation.JsonIgnore;
import life.innovation.model.BaseModel;
import life.innovation.model.Page;

import java.util.List;

public class MerchantOrderResp extends BaseModel{

    private Page pagination;
    private List<MerchantOrderList> list;

    public Page getPagination() {
        return pagination;
    }

    public void setPagination(Page pagination) {
        this.pagination = pagination;
    }

    public List<MerchantOrderList> getList() {
        return list;
    }

    public void setList(List<MerchantOrderList> list) {
        this.list = list;
    }

    public static class MerchantOrderList extends BaseModel{
         private int merchantId;
         private String merchantName;
         private int orderCount;
         @JsonIgnore
         private double amount;
         private double payAmount;
         private double tokenAmount;
         @JsonIgnore
         private  int paySource;


        public int getMerchantId() {
             return merchantId;
         }

         public void setMerchantId(int merchantId) {
             this.merchantId = merchantId;
         }

         public String getMerchantName() {
             return merchantName;
         }

         public void setMerchantName(String merchantName) {
             this.merchantName = merchantName;
         }

         public int getOrderCount() {
             return orderCount;
         }

         public void setOrderCount(int orderCount) {
             this.orderCount = orderCount;
         }

         public double getAmount() {
             return amount;
         }

         public void setAmount(double amount) {
             this.amount = amount;
         }

         public double getPayAmount() {
             return payAmount;
         }

         public void setPayAmount(double payAmount) {
             this.payAmount = payAmount;
         }

         public double getTokenAmount() {
             return tokenAmount;
         }

         public void setTokenAmount(double tokenAmount) {
             this.tokenAmount = tokenAmount;
         }

         public int getPaySource() {
             return paySource;
         }

         public void setPaySource(int paySource) {
             this.paySource = paySource;
         }
     }



}
